require 'active_record/fixtures'

class LoadAcoesCriminaisData < ActiveRecord::Migration
  def self.up
    down
    directory = File.join(File.dirname(__FILE__), 'dev_data\acoes_criminais')
    Fixtures.create_fixtures(directory, 'acoes_criminais')
  end

  def self.down
    AcaoCriminal.delete_all
  end
end
